// CrossStitchDoc.h : interface of the CCrossStitchDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CROSSSTITCHDOC_H__7E8B1C10_69B7_42B1_BAC9_577477BD5F00__INCLUDED_)
#define AFX_CROSSSTITCHDOC_H__7E8B1C10_69B7_42B1_BAC9_577477BD5F00__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "StiPattern.h"
#include "StiFlossTable.h"


class CCrossStitchDoc : public CDocument
{
protected: // create from serialization only
	CCrossStitchDoc();
	DECLARE_DYNCREATE(CCrossStitchDoc)

// Attributes
public:
	CStiPattern* m_pStiPattern;
//	CStiFlossTable m_FlossTbl;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCrossStitchDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	BOOL OnOpenDocumentEx(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCrossStitchDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CCrossStitchDoc)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CROSSSTITCHDOC_H__7E8B1C10_69B7_42B1_BAC9_577477BD5F00__INCLUDED_)
